<template>
  <div class="layout-page">
    <!-- 下面的占位符，用于展示面经列表、收藏、喜欢、用户中心 -->
    <router-view></router-view>

    <!-- 首页最下面的标签 -->
    <van-tabbar route>
      <van-tabbar-item icon="home-o" to="/article">面经</van-tabbar-item>
      <van-tabbar-item icon="star-o" to="/collect">收藏</van-tabbar-item>
      <van-tabbar-item icon="like-o" to="/like">喜欢</van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/user">用户</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'layout-page'
}
</script>

<style lang="less" scoped></style>
